var status = -1;
var selectionLog = [];

function start(d, c, b) {
    if (status == 0 && d == 0) {
        qm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        qm.dispose()
    } else {
        if (status == a++) {
            qm.askYesNo_Bottom("想拍照片？嗯，原来你也是奥尔卡的粉丝啊。像你这样的人，今天一天就进进出出几十个了。趁现在还不太晚，你追到正门去，应该还能赶上。", 37, 1530180)
        } else {
            if (status === a++) {
                qm.sendNormalTalk_Bottom("前往正门去找奥尔卡吧。", 56, 0, false, true)
            } else {
                if (status === a++) {
                    qm.forceStartQuest(32778, "");
                    qm.dispose();
                    qm.warp(330000005, 2)
                }
            }
        }
    }
}

function end(d, c, b) {
    if (status == 0 && d == 0) {
        qm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        qm.dispose()
    } else {
        if (status == a++) {
            qm.sendNormalTalk_Bottom("转校生？你来这儿有什么事吗？", 37, 1530180, false, true)
        } else {
            if (status === a++) {
                qm.sendNormalTalk_Bottom("奥尔卡？你晚了一步。刚才一下课她就往正门的方向去了。", 37, 1530180, true, true)
            } else {
                if (status === a++) {
                    qm.forceStartQuest(32777, "");
                    qm.forceCompleteQuest(32777);
                    qm.dispose()
                }
            }
        }
    }
};